home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
pj9_3.arc
/
FATAL.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-10-07
|
419b
|
29 lines
title fatal applications exit
include asm.inc
public fatal_app_exit
.const
ertx_fatal db 'fatal',0
.code
extn set_strerror,perror,exit_with_error
;; fatal_app_exit
;
; entry AX offset of DGROUP error string
; note this function never returns
;
fatal_app_exit proc
call set_strerror
mov ax,@data
lea si,ertx_fatal
call perror
jmp exit_with_error
fatal_app_exit endp
end